package com.wxm.common.file.core.property;

import com.wxm.common.file.core.enm.FileSupplierEnum;
import com.wxm.common.file.core.service.supplier.SupplierBaseService;
import com.wxm.common.file.core.service.supplier.TencentCloudCosService;
import lombok.Data;

/**
 * <p>
 *      腾讯云对象存储配置
 * </p>
 *
 * @author: wxm
 * @Date: 2022/1/28
 */
@Data
public class TencentCloudCosProperty extends UploadBaseProperty{
    /**
     * secretId
     */
    private String secretId;

    /**
     * secretKey
     */
    private String secretKey;

    /**
     * Region
     */
    private String region;

    /**
     * 桶
     */
    private String bucket;

    @Override
    public FileSupplierEnum fileSupplierEnum() {
        return FileSupplierEnum.TENCENT_CLOUD;
    }

    @Override
    public Class<? extends SupplierBaseService> supplierService() {
        return TencentCloudCosService.class;
    }
}
